<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台管理系统</title>
    <link rel="stylesheet" href="/Finder/Public/Css/bootstrap.min.css">

    <style>
        .header{
            /*height: 60px;*/
            /*background: #000;*/
        }
        .footer{
            height: 40px;
            background: #c4c4c4;
        }
        .left{
            background: #ddd;
        }
        .right{}
    </style>
</head>
<body>
<!-- <div class="container-fluid header"> -->

    <nav class="navbar navbar-inverse">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">Finder</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="<?php echo U('Admin/Index/userLists');?>">用户管理 <span class="sr-only">(current)</span></a></li>
                    <li><a href="<?php echo U('Admin/Index/blogLists');?>">论坛管理</a></li>
                    <li><a href="#">广告</a></li>
                    <li><a href="#">设置</a></li>

                </ul>

                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">后台管理系统</a></li>
                    <li><a href="#"  ><span style="color: #ffffff"><?php echo ($user_manage["manager_name"]); ?></span> </a>

                    </li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>


<!-- mid -->
<div class="container">
    <div class="row">
        <div class="col-md-3 col-sm-3 pull-left left">

            
    <ul>
        <li>会员管理
            <ul>
                <li>会员列表</li>
            </ul>
        </li>
    </ul>

        </div>
        <div class="col-md-9 col-sm-9 pull-right right">
            
    <table class="table table-striped table-hover">
        <thead>
        <th>Uid</th>
        <th>用户名</th>
        <th>IP</th>
        <th>创建时间</th>
        <th>最后登录时间</th>
        <th>操作</th>
        </thead>
        <tbody>
        <?php if(is_array($userLists["lists"])): foreach($userLists["lists"] as $key=>$ul): ?><tr>
                <td><?php echo ($ul["user_id"]); ?></td>
                <td><?php echo ($ul["user_name"]); ?></td>
                <td><?php echo ($ul["last_ip"]); ?></td>
                <td><?php echo (date("Y-m-d H-i-s",$ul["creat_time"])); ?></td>
                <td><?php echo (date("Y-m-d H-i-s",$ul["last_time"])); ?></td>
                <td>
                    <!--<a href="<?php echo U('Admin/User/edit');?>">编辑</a>-->
                    <a href="<?php echo U('Admin/Index/infoDelete',array('typeId'=>1,'id'=>$ul['user_id']));?>">删除</a>
                </td>
            </tr><?php endforeach; endif; ?>
        </tbody>
        <tfoot>
        <th colspan="6">
            <?php echo ($userLists["page"]); ?>
        </th>
        </tfoot>
    </table>

        </div>
    </div>
</div>

<footer class="bs-docs-footer navbar-fixed-buttom" role="contentinfo">
    <div class="container">
        <p class="text-center">Copyright © 2015 Scu | Finder项目组</p>
    </div>
</footer>
<script src="/Finder/Public/Js/jquery.min.js"></script>
<script src="/Finder/Public/Js/bootstrap.min.js"></script>
</body>
</html>